<?php
/**
 * 商品 sku
 * @author maniac
 */
namespace app\common\service;

use app\common\model\GoodSku AS GoodSkuModel;

class GoodSku extends Base
{
    /**
     * 获取商品 sku
     * @param array $where 查询条件
     */
    public function sku($where)
    {
        return GoodSkuModel::field('id,sku_id,sku_sn,sku_name,cost_price,market_price,sale_price,stock,sale_nums,weight,img,"" imgurl')->where($where)->order('id ASC')->select();
    }
}
